home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 May / Disc 1 / PCU0503CD1.iso / resource / network / files / lannetsc.exe / {app} / UnInstallScript.vbs < prev    next >
Encoding:
Text File  |  2003-02-18  |  462 b   |  20 lines

  1. On Error Resume Next
  2. ' Declare variables
  3. Dim WshShell
  4.  
  5. ' Create shell object
  6. Set WshShell = WScript.CreateObject("WScript.Shell")
  7.  
  8. ' Delete registry key
  9. WshShell.RegDelete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Scheduled Scans"
  10.  
  11. ' Stop Scheduled Scan Service (if still started)
  12. WshShell.Run "cmd.exe /C net stop lnss_sscans", 0, true
  13.  
  14. ' UnInstall Scheduled Scan Service
  15. WshShell.Run "sscansvc.exe /UNINSTALL /SILENT", 0, true
  16.  
  17.  
  18.  
  19.  
  20.